package com.clothe.dao;

import java.sql.Connection;
import java.util.List;

import com.clothe.dto.OrderInfo;

public interface IOrderInfoDAO {
	public boolean save(OrderInfo orderInfo) throws Exception;

	public boolean delete(int id) throws Exception;

	public boolean update(OrderInfo orderInfo) throws Exception;

	public OrderInfo get(int buyerid) throws Exception;

	public List<OrderInfo> list(int pageSize, int pageNo, int buyerid)
			throws Exception;

	public List<OrderInfo> totallist(int pageSize, int pageNo) throws Exception;

	public List<OrderInfo> orderlist(int buyerid) throws Exception;

	public int getCount(int buyerid) throws Exception;

	public int getCountAll() throws Exception;

	public void setConn(Connection conn);

}
